import request from '@/utils/request'


export function getPoleListAPI(obj) {
    return request({
        url: '/pole/info/list',
        method: 'GET',
        params: obj//看接口文档，body参数用data，
    })
}
export function getAreaListAPI(obj) {
    return request({
        url: '/parking/area/dropList',
        method: 'GET',
        data: obj//看接口文档，body参数用data，
    })
}
export function addPoleAPI(obj) {
    return request({
        url: '/pole/info',
        method: 'POST',
        data: obj//看接口文档，body参数用data，
    })
}
export function editPoleAPI(obj) {
    return request({
        url: '/pole/info',
        method: 'PUT',
        data: obj//看接口文档，body参数用data，
    })
}
export function delPolePI(id) {
    return request({
        url: 'pole/info/' + id,
        method: 'DELETE',

    })
}
